from django.core.management import BaseCommand

from data.utils import sync_guizhou_purchases


class Command(BaseCommand):
    help = '手动执行采购采集'

    def add_arguments(self, parser):
        pass

    def handle(self, *args, **options):
        self.stdout.write('手动采集贵州省采购信息中...')
        sync_guizhou_purchases()